<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>听课频率统计</title>
    <?php require 'templates/common/head.html'; ?>
</head>
<body>


<div class="container-fluid">
    <?php require 'templates/common/nav.html'; ?>
    <div class="panel panel-primary">
        <div class="panel-heading text-center"><h3 class="panel-title">听课频率统计</h3></div>
        <div class="panel-body">
            <div class="panel-group"   id="accordion" role="tablist" aria-multiselectable="true">
                <div class="panel panel-default" >
                    <div class="panel-heading" style="background-color:#d5d5d5" >
                        <div class="row">
                            <div class="text-justify col-sm-12" style="width:100%;">
                                <div class="col-sm-1"><b  >用户名</b></div>
                                <div class="col-sm-2"><b  >医院</b></div>
                                <div class="col-sm-1"><b  >职务</b></div>
                                <div class="col-sm-2"><b  >专业领域</b></div>
                                <div class="col-sm-2"><b  >电话</b></div>
                                <div class="col-sm-1"><b  >听课次数</b></div>
                                <div class="col-sm-3"><b  >最后在线时间</b></div>
                                <!--<div class="col-sm-2"><b  >操作</b></div>-->
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <?php foreach($users as $key =>$value):?>
                    <div class="panel-heading"  style=" <?php if($key%2==0){echo 'background-color:#DFF0D8;';}else{ echo 'border-top: solid 2px #ffffff;';}?>">
                    <div class="row">
                        <div class="col-xs-4 text-justify" style="width:100%;">
                            <div class="col-sm-1"><span><?= $value['name']?></span></div>
                            <div class="col-sm-2"><span><?= $value['hospital']?></span></div>
                            <div class="col-sm-1"><span><?= $value['resign']?></span></div>
                            <div class="col-sm-2"><span><?= $value['field']?></span></div>
                            <div class="col-sm-2"><span><?= $value['phone']?></span></div>
                            <div class="col-sm-1"><span><?= $value['course_num']?></span></div>
                            <div class="col-sm-3"><span><?= $value['last_time']?></span></div>
                            <!--<div class="col-sm-2">-->
                                <!--<a class="btn btn-primary btn-xs" href="index.php?m=case_manage&a=show_user&id=<?php echo $value['id']?>" >修改</a>-->
                            <!--</div>-->

                        </div>
                    </div>
                </div>
                <?php endforeach; ?>
            </div>

        </div>
            <div><?= $page->showpage();?></div>
    </div>
</div>
</div>
</div>
<?php require 'templates/common/foot.html'; ?>
</body>
</html>
